package com.wingsfrog.travel.service;

import com.wingsfrog.travel.modules.entity.User;

/**
 * Created by rankin on 16/3/31.
 */
public interface UserService {
    void saveUser(User user);

    void saveUserInfo(Integer userId, String brif, Integer yearsold, Byte sex) throws Exception;

    User findUserByToken(String token);

    User findUserByPhone(String phone) throws Exception;
}
